home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
utility
/
681
/
insp_180
/
insp_180.doc
next >
Wrap
Text File
|
1993-02-09
|
13KB
|
331 lines
The Inspector
Version 1.80
02/10/93
Copyright 1992,1993
Written by Daniel M. Wallin jr.
INTRODUCTION :
The Inspector is a program designed to help diagnose
problems that may occur during the operation of your
computer. The Inspector can be configured to generate
error reports which occur when the operating system
has encountered a problem. Very often such problems
can cause a program to fail mysteriously, without
any indication of what really went wrong. If a file
is being looked for and was not found, The Inspector
will display a report showing what was being looked
for, where it was expected to be, and the current
subdirectory.
There are also options to generate reports continuously.
This allows you to monitor the operating system when it is
reading or writing files, or other disk operations. A
special feature useful for debugging is also included that
causes the operating system to totally ignore any desktop
accessories. This feature is global, meaning that
all desktop accessories are affected, and unlike
other utilities, the filename extensions of the
desktop accessories are not modified in any way.
This feature is VERY useful when a malfunctioning
desktop accessory on the hard drive is causing the
system to continously reboot, or when you need to load
the operating system with the most amount of memory
available.
Program Requirements and Peculiarities :
The program is known to work with the following
computers :
520ST, 1040ST, 520STE, 1040STE, TT, STACEY.
The program runs in LO or MEDIUM resolutions.
Other resolutions may work, but are not currently
supported.
This program will not work concurrently with
Pathfinder. Pathfinder must be disabled when
The Inspector is used. Unlike Pathfinder, The
Inspector will reload into memory when the screen
resolution is changed.
The Inspector does not work well with programs that
read or write directly from screen memory. This does
not cause problems except with a very small number
of programs, and otherwise should never be a problem.
The symptoms of the problem are a blank spot in the
screen of the same size as the error report.
Getting Started :
To use The Inspector, copy the INSP_180.PRG file into
your AUTO folder. The next time the system is rebooted,
a message will appear for a few seconds indicating that
The Inspector is waiting for a SPACE BAR to be pressed
to configure it's options. If you do not press the
SPACE BAR before the time runs out, then the the program
will automatically be installed using the defaults, or
whatever options have been previously saved. If the
SPACE BAR was pressed, then a menu will appear showing
the current options. Pressing F1 - F6 will change one
of the options, and pressing F10 will cause the current
options to be used, and continue with the initialization
of the operating system. If the CONTROL key is depressed
instead of the SPACE BAR, then the operating system will
be loaded as normal, but The Inspector will be installed
with the current defaults, EXCEPT that the desktop
accessories will be disabled regardless of the setting
of the F6 option. This was included to allow a quick
and easy way to boot the computer without the accessories
being loading into memory.
Options Summary :
F1 - Diagnostic Mode
F2 - Response Mode
F3 - Read Write Minimum
F4 - Lost Files
F5 - Lost Folders
F6 - Desk Accessories
F7 - Display Speed
F9 - Save Defaults
F10 - Exit
F1 - DIAGNOSTIC MODE
The is the main option that will need to be set.
Pressing the F1 key will cycle thru the following
possible diagnostic modes :
FULL DIAGNOSTICS, ERRORS ONLY, INACTIVE.
FULL DIAGNOSTICS will cause continuous reports to
be displayed EVERY time the operating system is used
to read, write, delete, create, or search for files,
even if no error has occured. This option is very useful
for determining what files a program is using or looking
for.
ERRORS ONLY will cause reports to be displayed only when
an error has occured. This allows the operation of
The Inspector to be totally unnoticed until something
goes wrong.
INACTIVE will cause the installation of The Inspector
to be cancelled. Any memory allocated by the program
will be returned to the operating system.
F2 - RESPONSE MODE
This option determines what action the computer will take
after generating an error report. Pressing F2 will
cycle thru the following possible options :
WAIT FOR KEY, TIME DELAY, SLOW MOTION
(SLOW MOTION will only be available when FULL DIANOSTICS is enabled)
WAIT FOR KEY will cause the computer to wait for a keypress
after every error report. This will allow you to closely
examine what occured, such as why a program was unable
to find a file it was searching for.
TIME DELAY will cause the computer to pause for
before erasing the error report. The length of the
time delay is determined by option F7, the display
speed. This option is useful for monitoring the a program
when you know that it will attempt to load files that are
optional that will generate an missing file report,
or when the system is unattended as when a BBS is
running.
SLOW MOTION will cause the computer to pause before
and after each call to the operating system. The reason
this is called slow motion will become obvious as you
wait 10 minutes for a program that otherwise only takes
2 minutes to run. This option is mainly useful for
debugging programs that fail to work at all.
F3 - READ/WRITE MINIMUM
The READ/WRITE MINIMUM determines the threshold of
the amount of data read or written by the operating
system that will generate a report. Pressing
F3 will cycle between ZERO and 1024 BYTES. This
option is useful for programs that continuously
write or read small amounts of data. If a program
such as an assembler is used while full diagnostics
is enabled, and very small amounts of data are
written continously, then a report will be generated
for every few bytes, and a noticeable decrease in
speed will occur. With the minimum set to 1024 bytes,
no speed decrease will be noticed except perhaps on
the very fastest drives when full diagnostics mode
is enabled.
F4 - LOST FILES
This option determines what action will be taken when
the operating system is asked for a file that cannot
be located. Normally this would cause a program to
fail, and a report would be generated to show where
the file was being looked for. However, if a program
is looking for an optional file, then a report would
be generated for every optional file that was not
located. Pressing F4 will toggle between NORMAL
and IGNORE. If IGNORE is selected, then no report
will be generated for any missing files.
F5 - LOST FOLDERS
This option is identical to LOST FILES, except that it
determines if an attempt by the operating system to
access a non-existant folder will generate an error
report. Sometimes it is useful to IGNORE LOST FILES,
while generating reports for LOST FOLDERS or vice versa.
When running a BBS it is often useful to know what
files or folders are being searched, and F4 and F5
allow you to decide what errors will generate a report.
F6 - DESK ACCESSORIES
This option can be used to cause the operating system to
totally ignore any desk accessories. Pressing F6 will
cycle between ON and IGNORE. If IGNORE is selected,
then the dekstop accessories will not be loaded into
memory. This option will affect ALL desktop accessories.
The benefit of this way of disabling the accessories is
two-fold. It is quick and easy, and does not modify the
disk in any way unlike other utilities that simply rename
the extension from .ACC to .ACX or something similar.
NOTE : NEWDESK users will have to setup their desktop
after this option as the NEWDESK.INF file will not be
loaded without the XCONTROL.ACC being loaded into the
system. The next time the system is booted with F6 OFF,
(and without pressing the CONTROL key), the desktop will
appear in it's previous configuration.
F7 - DISPLAY SPEED
This option allows you to fine tune the speed at which
reports will be displayed and erased. Pressing F7 will
cycle thru 0.5, 2, and 4 seconds. By adjusting the speed
of the display, you can either get a more readable report,
or a fast one... (useful for full diagnostics).
F9 - SAVE DEFAULTS
This option will save the current options into the program.
The program will be assumed to be in the AUTO folder of
the current drive. The options will be saved INTO the
program itself, so no other options file is needed,
and any copy of the INSP_180.PRG file after saving the
defaults will contain the current options as the defaults.
F10 - EXIT
This option will cause an exit from the menu, and the
operating system will continue loading. If the
diagnostics mode is set to inactive, then the
installation of The Inspector will be aborted, and
all memory reserved by the program will be returned
to the operating system.
IMPROVEMENTS OVER VERSION 1.75
The Inspector now will ignore FORCE MEDIA CHANGE attempts
by the operating system that before would produce a report
showing a file such as 'X' or '\\X'. Other programs may
use anything. As long as a program uses a '*.*', a 'X'
or a '\\X' then it will be ignored by The Inspector as
it should be.
The Inspector now will not modify the cursor position.
In version 1.75, moving the mouse sometimes caused
sections of the screen to be changed. This problem
was fixed by disabling the mouse during calls operating
system for disk operations.
PROGRAM CREDITS :
Written by Daniel M. Wallin jr.
A special thanks to Martin Crommie, Sysop of Puddle City BBS,
for the use of his FOREM based BBS for testing purposes.
Version 1.80 of The Inspector is FREEWARE. You can use, give,
or copy it as much as you like, as long as all docs are included
in an unmodified form. This program may not be distrubted for
commercial purposes, or as part of any package that is being
sold without the written permission of the author.
THE FUTURE OF THE INSPECTOR :
There are many additions currently being worked on, including
error logs, XBIOS error reports for the hard drive,
active virus guard routines (like in Pathfinder), the ability
to change options from within other programs, support for the
Falcon, and better cooperation with programs that read
or write directly from screen memory, and some of the options
that are being considered.
The expansion of this program will depend primarily upon user
feedback. If I get a lot of response about the usefulness of
this program, then I will keep adding to it, and refining it,
so please send any comments, suggestions, problems, questions
OR CONTRIBUTIONS.
If you find this program useful, please send a contribution
to :
Daniel M. Wallin jr.
P.O. Box 5011
Aloha, OR 97006-0011
Also check out PATHFINDER version 1.6, a MUST for every hard drive
owner.
Look for the most recent versions of The Inspector and Pathfinder
and other utilities by me on the following bulliten board systems :
(I can also be reached via EMAIL on Puddle City)
BBS NAME Phone Number Sysop
Puddle City BBS 503-289-9429 Martin Crommie
ST Enthusiasts of Portland 503-297-6542 James Williams
Realm of the Alternate Eternities 503-649-7915 Max Denebian